package org.kfish.framework.util;

public class StringUtil {

	public static String SEPARATOR = ";";
	
	public static boolean isNotEmpty(String str){
		
		return (null != str) && (!str.equals(""));
		
	}
	
	public static String[] splitString(String str,String regex){
		if(isNotEmpty(str)){
			return str.split(regex);
		}else{
			return null;
		}	 
	}
}
